import React, { FC } from 'react';
import TabBar from '../../../components/tab-bar';
import kaidianliucheng from '../../../assets/img/kaidianliucheng.png';
import { useHistory } from 'react-router-dom';
import { Button } from 'antd-mobile';
import './style.css';

// 开店须知页
const ShopOpenNotice: FC = props => {
    const history = useHistory();
    return (
        <div className='notice'>
            <TabBar goBack={() => { console.log("商家返回") }} regText="开店须知" cenText="商家中心" />
                <img src={kaidianliucheng} className='image' />
                <Button block
                    color='primary'
                    size='large'
                    onClick={() => { history.push("/merLogReg/merRegistration") }}
                >
                    下一步
                </Button>
        </div>
    )
}
export default ShopOpenNotice;
